package com.heu.blood.transfusion.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author lhh
 * @date 2024-06-30 17:27
 */
@Data
@AllArgsConstructor
public class ABOTypeVo {
    private BloodTypeInfo typeA; //A型血的数量和单位
    private BloodTypeInfo typeB; //B型血的数量和单位
    private BloodTypeInfo typeAB; //AB型血的数量和单位
    private BloodTypeInfo typeO; //O型血的数量和单位

    public ABOTypeVo() {
        this.typeA = new BloodTypeInfo(BigDecimal.ZERO, "unit");
        this.typeB = new BloodTypeInfo(BigDecimal.ZERO, "unit");
        this.typeAB = new BloodTypeInfo(BigDecimal.ZERO, "unit");
        this.typeO = new BloodTypeInfo(BigDecimal.ZERO, "unit");
    }
}
